import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
// main.js
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import TuniaoUI from 'tuniao-ui'
Vue.use(TuniaoUI)
App.mpType = 'app'

import {
	request
} from "@/require/request.js";
Vue.prototype.request = request;

let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)

import store from './store'

const app = new Vue({
  store,
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif